Loupe - Log - Monitor - Resolve
Gibraltar.Monitor Namespace / DetailLogMessage Class / DetailLogMessage Constructor / DetailLogMessage Constructor(LogMessageSeverity,LogWriteMode,String,String,Int32,String,String,String,Object[])
The severity of the log message.
Whether to queue-and-return or wait-for-commit.
The name of the logging system the message was issued through, such as "Trace" or "Gibraltar".
The logging category or application subsystem category that the log message is associated with, such as "Trace", "Console", "Exception", or the logger name in Log4Net.
The number of stack frames to skip over to find the first candidate to be identified as the source of the log message.
Optional. An XML document with extended details about the message. Can be null.
A single line display caption.
Optional. A multi-line description to use which can be a format string for the arguments. Can be null.
Optional additional args to match up with the formatting string.

In This Topic
    DetailLogMessage Constructor(LogMessageSeverity,LogWriteMode,String,String,Int32,String,String,String,Object[])
    In This Topic
    Creates a DetailLogMessage object with specified LogWriteMode behavior and an XML details string.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal severity As LogMessageSeverity, _
       ByVal writeMode As LogWriteMode, _
       ByVal logSystem As String, _
       ByVal categoryName As String, _
       ByVal skipFrames As Integer, _
       ByVal detailsXml As String, _
       ByVal caption As String, _
       ByVal description As String, _
       ByVal ParamArray args() As Object _
    )

    Parameters

    severity
    The severity of the log message.
    writeMode
    Whether to queue-and-return or wait-for-commit.
    logSystem
    The name of the logging system the message was issued through, such as "Trace" or "Gibraltar".
    categoryName
    The logging category or application subsystem category that the log message is associated with, such as "Trace", "Console", "Exception", or the logger name in Log4Net.
    skipFrames
    The number of stack frames to skip over to find the first candidate to be identified as the source of the log message.
    detailsXml
    Optional. An XML document with extended details about the message. Can be null.
    caption
    A single line display caption.
    description
    Optional. A multi-line description to use which can be a format string for the arguments. Can be null.
    args
    Optional additional args to match up with the formatting string.
    Remarks
    This constructor creates a DetailLogMessage with specified LogWriteMode behavior (queue-and-return or wait-for-commit) and XML details string (which may be null).
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also